<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>信息提示</title>
        <style type="text/css">
            body{
                margin:0px;
                font-size:12px;
                background:#FFF;
                overflow:hidden;
                color:#454545;
            }
            div{
                margin-left:auto;
                margin-right:auto;
                line-height:24px;
                font-family:"Arial","Tahoma","宋体";
                color:#454545;
                font-size:12px;
                overflow:hidden;
            }
            img{
                border:0;
            }
            a{
                color:#2A2A2A;
                text-decoration:none;
            }
            a:hover{
                color:red;
                text-decoration:underline;
            }
            a.link{
                color:#2A2A2A;
            }
            a.redcolor
            {
                color:#CB4721;
            }
            a.redcolor:hover{
                color:red;
            }

            .space_between{
                height:5px;
            }
            .error{
                line-height:150%;
                padding:15px;
                width:450px;
                border:1px #DDD dashed;
            }
        </style>
        <script type="text/javascript">
            function tourl(url){
                window.location.href=url;
            }

            function timeset(time,act){
                time = parseInt(time);
                if(time < 1){
                    return false;
                }else{
                    time = time*1000;
                    window.setTimeout(act,time);
                }
            }

        </script>
    </head>
    <body style="background:#FFFFFF;">
        <div align="center">
            <div>&nbsp;</div>
            <div>&nbsp;</div>
            <div>&nbsp;</div>
            <div>&nbsp;</div>
            <div>&nbsp;</div>
            <div class="error">
                <div style="color: {%if time==2 then%}#C00{%else%}#063{%end%}">
                {%if helper:is_table(msg) then%}
                    {%for key,value in pairs(msg) do%}
                    <li>{{value}}</li>
                    {%end%}
                {%else%}
                    {{msg}}
                {%end%}
                </div>
                {%if not url then url=ngx.var.referer end%}
                <div class="space_between"><img src="images/blank.gif" border="0" width="1" height="1"></div>
                <div><a href="{*url*}">如果您的浏览器无法在 <span style="color: #933;font-weight:bold;">{{time}}</span>秒 后跳转，请点这里</a></div>
            </div>
        </div>
        <script type="text/javascript">
            var href="{*url*}";
            timeset("{{time}}","tourl('"+href+"')");
        </script>
    </body>
</html>
